package com.mediaFeed.model;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.acegisecurity.GrantedAuthority;

/**
 * Author:Louis Majanja <louis@media.berkeley.edu>
 * Date: Nov 13, 2006
 * Time: 2:43:11 PM
 *
 *
 * @hibernate.class  table="Video"
 */
public class Video extends BaseObject {

    protected Long id;
    protected Long userId;
    protected String filename;
    protected String title;
    protected String description;
    protected String genre;
    protected String language;
    protected String access;


    public Video() {
    }

    public Video(String title) {
        this.title = title;
    }


    /**
     *
     * @return returns the id
     * @hibernate.id column="id" generator-class="native" unsaved-value="null"
     */

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    /**
     *
     * @return retuurns the userid
     *
     * @hibernate.property
     */
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     *
     * @return returns filename
     * @hibernate.property
     */
    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    /**
     * @hibernate.property
     * @return returns the title
     */
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    /**
     *
     * @return the description
     * @hibernate.property
     */
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    /**
     *
     * @return the genre
     * @hibernate.property
     */
    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre;
    }

    /**
     *
     * @return the language
     * @hibernate.property  length="256"
     */
    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    /**
     *
     * @return the access public or private
     * @hibernate.property
     *
     */
    public String getAccess() {
        return access;
    }

    public void setAccess(String access) {
        this.access = access;
    }


    public boolean equals(Object o) {
         return false;
    }

    public int hashCode() {
        return 0;
    }

    public String toString() {
      return null;
    }
}
